package com.lframework.xingyun.promo.vo.nthpiece;

import lombok.Data;
import com.lframework.starter.web.core.vo.PageVo;
import com.lframework.starter.web.core.vo.BaseVo;
import com.lframework.starter.web.core.components.validation.TypeMismatch;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;

@Data
public class QueryMarketingNthpieceVo extends PageVo implements BaseVo, Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 促销活动名称
     */
    @ApiModelProperty("促销活动名称")
    private String name;

    /**
     * 折扣类型(1:第N件几折; 2:第N件几元;)
     */
    @ApiModelProperty("折扣类型(1:第N件几折; 2:第N件几元;)")
    @TypeMismatch(message = "折扣类型(1:第N件几折; 2:第N件几元;)格式有误！")
    private Integer discountType;

}

